﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LeEdu.MODEL
{

   [DisplayName("购买课程表")]
   public class Purchase
    {
        [DisplayName("ID")]
       public int PurchaseId { get; set; }

       [DisplayName("订单号")]
        public string OrderNumber { get; set; }
       [DisplayName("课程外键")]
       public Nullable<int> CoursesId { get; set; }
       public virtual Courses Courses { get; set; }
       [DisplayName("购买者用户名")]
       public string PUserName { get; set; }
       [DisplayName("联系电话")]
       public string PTel { get; set; }
       [DisplayName("支付方式")]
       public int Payment { get; set; }
    }
}
